package com.winning.pmph.entity;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import javax.persistence.Table;
import java.util.List;

/**
 * @author 刘亚飞
 * @Description
 * @create 2020-10-20 18:21
 */
@Data
@Table(name = "FLOW_CHART")
public class FlowChart extends BaseEntity {

    private static final long serialVersionUID = 7627637486909654161L;

    @TableId
    private String id;
    /**
     * 流程图名称
     */
    private String flowName;
    /**
     * 所属项目
     */
    private String belongingItemId;
    /**
     * 对应科学分类
     */
    private String scienceTagId;
    /**
     * 流程图json数据
     */

    private JSONObject chartJson;
    
    private int deleted;

    private Integer version;

    private String rejectReason;

    @TableField(exist = false)
    private String belongingItemName;

    @TableField(exist = false)
    private String scienceTagName;

    @TableField(exist = false)
    private List<String> queryCreatedTime;
}
